package cn.kmust.booth.portal.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author kmust.cn
 * @since 2020-08-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("admin")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 工号
     */
    @TableId("job_number")
    private Integer jobNumber;

    /**
     * 密码
     */
    @TableField("password")
    private String password;

    /**
     * 姓名
     */
    @TableField("username")
    private String username;

    /**
     * 标识符
     */
    @TableField("flag")
    private Integer flag;

    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 头像url
     */
    @TableField("avatarUrl")
    private String avatarUrl;

    @TableField("city")
    private String city;


}
